EmojiChooser: Ensure always have a selected button
authorDaniel Boles <dboles@src.gnome.org>
Mon, 4 Sep 2017 18:56:47 +0000 (19:56 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Mon, 4 Sep 2017 21:58:24 +0000 (22:58 +0100)
commitb97f1900b77850e2cda0f2b336f1c87c81f0f786
tree31c3a21878bb95094d564bce774a5aa6842abdcb
parent002a1d9c1cedee733dbfc40b2d913c19eb20b83c
EmojiChooser: Ensure always have a selected button

We were only selecting a section’s button if the adjustment y coord was
within its heading, so scrolling slightly into it unchecked all buttons.
This also fixes how we could end up with the first 2 selected, somehow.

https://bugzilla.gnome.org/show_bug.cgi?id=787172
gtk/gtkemojichooser.c